
def all(iterable):
    for element in iterable:
        if not element:
            return False
    return True
l=[1,0,2,3]
print(all(l))